Optimal. Leaf size=29 \[ \frac {x}{a}-\frac {\sqrt {1-a^2 x^2} \text {ArcSin}(a x)}{a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {4767, 8}
\begin {gather*} \frac {x}{a}-\frac {\sqrt {1-a^2 x^2} \text {ArcSin}(a x)}{a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 4767
Rubi steps
\begin {align*} \int \frac {x \sin ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx &=-\frac {\sqrt {1-a^2 x^2} \sin ^{-1}(a x)}{a^2}+\frac {\int 1 \, dx}{a}\\ &=\frac {x}{a}-\frac {\sqrt {1-a^2 x^2} \sin ^{-1}(a x)}{a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 1.00 \begin {gather*} \frac {x}{a}-\frac {\sqrt {1-a^2 x^2} \text {ArcSin}(a x)}{a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(61\) vs.
\(2(27)=54\).
time = 0.08, size = 62, normalized size = 2.14
method | result | size |
default | \(-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (a^{2} x^{2} \arcsin \left (a x \right )-\arcsin \left (a x \right )+a x \sqrt {-a^{2} x^{2}+1}\right )}{a^{2} \left (a^{2} x^{2}-1\right )}\) | \(62\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 27, normalized size = 0.93 \begin {gather*} \frac {x}{a} - \frac {\sqrt {-a^{2} x^{2} + 1} \arcsin \left (a x\right )}{a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.24, size = 26, normalized size = 0.90 \begin {gather*} \frac {a x - \sqrt {-a^{2} x^{2} + 1} \arcsin \left (a x\right )}{a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.21, size = 24, normalized size = 0.83 \begin {gather*} \begin {cases} \frac {x}{a} - \frac {\sqrt {- a^{2} x^{2} + 1} \operatorname {asin}{\left (a x \right )}}{a^{2}} & \text {for}\: a \neq 0 \\0 & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 27, normalized size = 0.93 \begin {gather*} \frac {x}{a} - \frac {\sqrt {-a^{2} x^{2} + 1} \arcsin \left (a x\right )}{a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {x\,\mathrm {asin}\left (a\,x\right )}{\sqrt {1-a^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________